﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OA.UserManager
{
    /// <summary>
    /// 用户访问控制
    /// </summary>
    public sealed class AuthorizationControl
    {
        #region 属性
        private static int onLineUserNumber;

        public static int OnLineUserNumber
        {
            get { return onLineUserNumber; }
        }

        private static Dictionary<DateTime, User> onLineUsers;

        public static Dictionary<DateTime, User> OnLineUsers
        {
            get { return onLineUsers; }
        }
        #endregion
        #region 方法
        public static bool UpdateOnlineUser(User user)
        {
            throw new NotImplementedException();
        }
        public static LoginStatus SignIn(string userName, string password)
        {
            throw new NotImplementedException();
        }
        public static void SignOut()
        {
            throw new NotImplementedException();
        }

        private static bool RemoveOnlineUser(User user)
        {
            throw new NotImplementedException();
        }
        private static void AddOnlineUser(User user)
        {
            throw new NotImplementedException();
        }

        public static LoginStatus GetLoginStatus()
        {
            throw new NotImplementedException();
        }
        private AuthorizationControl() { }
        #endregion


    }
}
